#ifndef _OOGAMELEVEL_H_
#define _OOGAMELEVEL_H_

#include "ooengine.h"

//------------------------------------------------------------------------
struct ooPackedResource;

//------------------------------------------------------------------------
class ooGameLevel
{
public:
	//xml element name
	static const String	ms_xmlGameLevel;

public:
	ooGameLevel(const String& filename);
	~ooGameLevel();

	void				onLevelLoading();
	void				onLevelEnding();
	bool				isValid() const;

	void				tickOneFrame();

private:
	bool				m_valid;
	String				m_levelFile;


	typedef std::vector<Ptr<ooPackedResource> >	ResourcesRef;
	ResourcesRef		m_resourcesRef;

};

#endif